Skip to content

Add capacitive touch slider tutorial#502

Closed
yifan19860831-hub wants to merge 1 commit intotscircuit:mainfrom
yifan19860831-hub:main
Closed

Add capacitive touch slider tutorial#502
yifan19860831-hub wants to merge 1 commit intotscircuit:mainfrom
yifan19860831-hub:main

Conversation

@yifan19860831-hub
Copy link

Summary

This PR adds a comprehensive tutorial for creating capacitive touch sliders using tscircuit.

Tutorial Contents

  1. Overview - Introduction to capacitive touch sliders
  2. Prerequisites - What you need to know before starting
  3. Step-by-step guide - Creating a 5-segment slider
  4. Key properties explained - Understanding soldermask and polygon points
  5. Visualization - How to view your design
  6. Testing - Connecting to microcontrollers
  7. Advanced topics - Customization options

Features Covered

  • Polygon smtpads for custom shapes
  • Soldermask configuration (coveredWithSolderMask)
  • Soldermask margins (solderMaskMargin, per-side margins)
  • PCB visualization with soldermask

Code Examples

  • Complete working component
  • Touch detection setup
  • Custom shape examples
  • Per-side soldermask margin configuration

Related Issues

/claim #786

- Complete tutorial for creating capacitive touch sliders
- Covers polygon smtpads with soldermask
- Includes code examples and best practices
- Related to tscircuit/tscircuit#786
@vercel
Copy link

vercel bot commented Mar 10, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
docs Ready Ready Preview, Comment Mar 10, 2026 0:18am

Request Review

@yifan19860831-hub
Copy link
Author

Hi @tscircuit/maintainers! 👋 This PR (#502) has been open for 2+ days without activity. Could you please take a look when you have a chance? Happy to make any needed changes. Thanks!

@github-actions
Copy link

This PR has been automatically marked as stale because it has had no recent activity. It will be closed if no further activity occurs.

@github-actions
Copy link

This PR was closed because it has been inactive for 1 day since being marked as stale.

@github-actions github-actions bot closed this Mar 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support Capacitive Touch Slider element, add solvermask support to smtpad, document capacitive touch element

1 participant